package cn.liuyiyou.lean.es.domain;

import cn.liuyiyou.lean.es.result.BCoreGeVertex;
import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;

import java.util.List;


@Data
@Document(indexName = "bcore_circle")
public class BCoreCircle extends BCoreEntity {
    private boolean closed;
    //圆心
    private BCoreGePoint center;
    //半径
    private double radius;
    //法向量
    private BCoreGePoint normal;

    //多段线定点
    private List<BCoreGeVertex> vertexs;
}
